use_frameworks!

target 'CocoapodsTest' do
  platform :ios, '13.0'
  use_frameworks!
  pod 'Stripe', path: '../../../..'
  pod 'StripeIdentity', path: '../../../..'
  pod 'StripeFinancialConnections', path: '../../../..'
  pod 'StripeCardScan', path: '../../../..'
  pod 'StripeApplePay', path: '../../../..'
  pod 'StripeCameraCore', path: '../../../..'
  pod 'StripeConnect', path: '../../../..'
  pod 'StripeCore', path: '../../../..'
  pod 'StripeUICore', path: '../../../..'
  pod 'StripePayments', path: '../../../..'
  pod 'StripePaymentsUI', path: '../../../..'
  pod 'StripePaymentSheet', path: '../../../..'

  post_install do |installer|
    installer.pods_project.build_configurations.each do |config|
      config.build_settings['GCC_TREAT_WARNINGS_AS_ERRORS'] = 'YES'
    end
  end

  target 'CocoapodsTestTests' do
    inherit! :search_paths
  end
end

target 'TestExtension' do
  platform :ios, '13.0'
  use_frameworks!
  pod 'StripeApplePay', path: '../../../..'
  pod 'StripeCore', path: '../../../..'
end
